import '../style/detail.scss'
import { MdPreview} from 'md-editor-rt';
import 'md-editor-rt/lib/preview.css';
// const scrollElement = document.querySelector('#root') as HTMLElement;
export const QuestionViewer = ({content}: any) => {
  return <>
    <div style={{display: "flex"}}>
      {/*<MdCatalog editorId={'mainview'} scrollElement={scrollElement}/>*/}
      <MdPreview editorId={'mainview'} modelValue={content}/>
    </div>
  </>
}